package com.konke.sdslibrary.event;


import com.sds.sdk.android.sh.model.InfraredCodelib;

import java.util.List;

public class MatchCodelibResultEvent extends SmartHomeEvent {

    private int devId;
    private String devType;
    private List<InfraredCodelib> codelibs;
    private int errorCode;

    public MatchCodelibResultEvent(String ccuId, int devId, String devType, List<InfraredCodelib> codelibs, int errorCode) {
        super(ccuId);
        this.devId = devId;
        this.devType = devType;
        this.codelibs = codelibs;
        this.errorCode = errorCode;
    }

    public int getDevId() {
        return devId;
    }

    public String getDevType() {
        return devType;
    }

    public List<InfraredCodelib> getCodelibs() {
        return codelibs;
    }

    public int getErrorCode() {
        return errorCode;
    }
}
